package com.atguigu.day1;

public class ThreadTest01 {
    public static void main(String[] args) {
        Thread thread = new Thread();
        thread.start();
        thread.start();
        /**
         * Exception in thread "main" java.lang.IllegalThreadStateException 不合法的线程状态
         * 	at java.base/java.lang.Thread.start(Thread.java:793)
         * 	at com.atguigu.day1.Test01.main(Test01.java:7)
         * 	原因
         * 	if (threadStatus != 0)
         *     throw new IllegalThreadStateException();
         */
    }
}
